ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 3 - No. 23)

Which of these is an example of a valid variable assignment in Python?
123 = x
name = "John"
if = 10
my variable = 5

Forklaring

Variable names must start with a letter or underscore and cannot be a reserved keyword.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc